Einhugur Word Plugin for Xojo

Paragraph.AppendHyperlink Method

Adds hyperlink to the paragraph.

AppendHyperlink(
   value as String,
   address as String) as EinhugurWord.Hyperlink

Parameters

value
The text to display on the hyperlink.
address
The address for the hyperlink.

Returns

EinhugurWord.Hyperlink
Reference to the newly created Hyperlink object.

Remarks

Address can be external address or anchor name if the link is linking to anchor.

Note that you need to also set LinkToAnchor to true if wanting to link to anchor.

Anchor with the name _top is valid also, it is a built in one that always exists.

If wanting link to anchor then you set the LinkToAnchor to true after appending the Hyperlink object.

See Also

Paragraph Class